#!/usr/bin/python
# -*- coding: utf-8 -*-
#  This file is part of Simulinux.

#  Simulinux is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.

#  Scase is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.

#  You should have received a copy of the GNU General Public License
#  along with Scase. If not, see <http://www.gnu.org/licenses/>.

#@TODO: Use argparse and enable the following options:
#simulinux {--just_run | --just_m_file} <file>

import sys

try:
    import gtk
except ImportError:
    sys.exit("GTK Library not found.")

from Simulinux.GUI import GUI

def main():
    app = GUI()
    app.config()
    app.show()

if __name__ == '__main__':
    sys.exit(main())
